package com.training.schedule_management_system_admin.mapper;

import com.training.schedule_management_system_admin.entity.Scheduleframework;
import com.training.schedule_management_system_admin.entity.ScheduleframeworkExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface ScheduleframeworkMapper {
    long countByExample(ScheduleframeworkExample example);

    int deleteByExample(ScheduleframeworkExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(Scheduleframework record);

    int insertSelective(Scheduleframework record);

    List<Scheduleframework> selectByExample(ScheduleframeworkExample example);

    Scheduleframework selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") Scheduleframework record, @Param("example") ScheduleframeworkExample example);

    int updateByExample(@Param("record") Scheduleframework record, @Param("example") ScheduleframeworkExample example);

    int updateByPrimaryKeySelective(Scheduleframework record);

    int updateByPrimaryKey(Scheduleframework record);

    Scheduleframework getFrameworkAndTermById(Integer scheduleframeworkId);

}